package locales

import "cashew.com/cashew_common/constants"

var zhCn = map[constants.ErrNo]string{
	constants.SUCCESS:                           "成功",
	constants.ERR_SYS:                           "系统错误",
	constants.ERR_PARAM:                         "参数错误",
	constants.ERR_REQUEST_SIGN:                  "请求签名错误",
	constants.ERR_REQUEST_SOURCE_TYPE:           "请求来源错误",
	constants.ERR_USER_NOT_AUTH:                 "登录校验失败",
	constants.ERR_USER_NOT_EXIST:                "主播用户不存在",
	constants.ERR_USER_LOW_BALANCE:              "金币余额不足",
	constants.ERR_ANCHOR_STATUS_UPDATE:          "修改主播接单状态失败",
	constants.ERR_GET_CALL_PRICE:                "获取主播单价失败",
	constants.ERR_GET_CALL_PRICE_CONFIG:         "获取主播单价配置失败",
	constants.ERR_ISBLACK:                       "黑名单用户不能接听",
	constants.ERR_GET_ANCHOR:                    "获取主播信息失败",
	constants.ERR_ANCHOR_NOT_ONLINETAKINGORDERS: "主播不在接单状态",
	constants.ERR_UPDATE_ANCHOR_STATUS:          "修改主播接单状态失败",
	constants.ERR_UPDATE_USER_STATUS:            "修改用户状态失败",
	constants.ERR_ADD_VIDEO_CALL_LOG:            "添加对聊记录失败",
	constants.ERR_IM_SENDM_FAIL:                 "IM发送信息失败",
	constants.ERR_GET_VIDEO_CALL_LOG:            "查询对聊记录失败",
	constants.ERR_UPDATE_LIVING_ORDER_STATUS:    "修改主播直播模式失败",
	constants.ERR_UPDATE_VIDEO_CALL_LOG:         "修改对聊记录失败",
	constants.ERR_GET_RANDOM_ANCHOR:             "获取在线、空闲状态主播失败",
	constants.ERR_PAY_TO_UNLOCK_CHAT:            "需支付金币来解锁与该主播的聊天",
	constants.ERR_PAY_FAILD:                     "支付失败",
	constants.ERR_CHAT_ALREADY_UNLOCK:           "已解锁聊天",
	constants.ERR_CHAT_UNLOCK_FAILD:             "解锁聊天失败",
	constants.ERR_ANCHOR_NOT_FOUND:              "主播不存在",
	constants.ERR_USER_NOT_FOUND:                "用户不存在",
	constants.ERR_SET_BLACK_STATUS:              "更新黑名单信息失败",
	constants.ERR_GET_BLACK_LIST:                "查询黑名单列表失败",
	constants.ERR_EVALUATE_NOT_FOUND:            "评价记录不存在",
	constants.ERR_ORDER_NOEND_TO_EVALUATE:       "订单未结束,不能评价",
	constants.ERR_ORDER_EVALUATED_ALREADY:       "订单已评价,不能重复评价",
	constants.ERR_ORDER_EVALUATED_FAILD:         "订单评价失败",
	constants.ERR_WS_ADD_USER_FAIL:              "初始化用户信息失败",
	constants.ERR_WS_UPDATE_USER_FAIL:           "更新用户信息失败",
	constants.ERR_WS_UPDATE_ANTHOR_FAIL:         "更新主播信息失败",
	constants.ERR_GET_MAILPAGE_FAILD:            "获取男性首页数据失败",
	constants.ERR_GET_FEMAILPAGE_FAILD:          "获取女性首页数据失败",
	constants.ERR_FILE_UPLOAD_FAIL:              "文件上传失败",
	constants.ERR_FILE_TOO_LARGE:                "文件过大",
	constants.ERR_FILE_TYPE:                     "文件类型错误",
	constants.ERR_USER_DATA_EXCPTION:            "用户数据异常",
	constants.ERR_MATERIAL_AUDITING:             "资料审核中,禁止重复提交",
	constants.ERR_MATERIAL_UPDATE:               "资料提交失败",
	constants.ERR_ANCHOR_IS_BUSY:                "主播忙碌",
	constants.ERR_PRICE_ID_NOT_EXIST:            "价格ID不存在",
	constants.ERR_PRICE_UPDATE:                  "价格更新失败",
	constants.ERR_IP_SOURCE:                     "ip来源",
	constants.ERR_STOP_CALL_LOGIC:               "挂断操作失败",
	constants.ERR_GET_USER_BUSY_LOG:             "查询用户忙碌记录失败",
	constants.ERR_INTERRUPT_CALL_LOGIC:          "系统中断对聊操作失败",
	constants.ERR_WS_GET_OFFLINE_MSG_FAIL:       "获取用户离线消息失败",
	constants.ERR_GET_USER_BALANCE_FAILD:        "获取用户金币余额失败",
	constants.ERR_GIFT_TAKEN_OFF_SHELVE:         "道具已下架",
	constants.ERR_VIDEO_CALL_LOG_NOT_EXIST:      "对聊日志不存在",
	constants.ERR_VIDEO_CALL_LOG_UPDATE_FAILD:   "更新对聊收益失败",
	constants.ERR_KEEPALIVE_UPDATE_USER_INFO:    "保活接口更新用户信息失败",
	constants.ERR_GET_SUB_REGION:                "获取子区域信息失败",
	constants.ERR_CHARGING_START_FAIL:           "计费系统异常,启动计费失败",
	constants.ERR_CHARGING_START_RETURN_FAIL:    "计费系统异常,启动计费返回失败",
	constants.ERR_MATERIAL_NOT_FOUND:            "资料不存在",
	constants.ERR_SERVER_STATUS_401:             "Unauthorized",
	constants.ERR_SERVER_STATUS_403:             "Permission denied",
	constants.ERR_SERVER_STATUS_404:             "Service not found",
	constants.ERR_SERVER_STATUS_500:             "Service error",
	constants.ERR_SERVER_STATUS_503:             "Service Unavailable",
	constants.ERR_CREATE_ORDER:                  "创建订单失败",
	constants.ERR_INIT_USER_PROFILE_FAIL:        "初始化用户信息失败",
	constants.ERR_GET_USER_IDENTITY_FAIL:        "获取用户身份信息失败",
	constants.ERR_NO_CHAT_PERMISSION:            "用户无聊天权限",
	constants.ERR_NO_CALL_PERMISSION:            "用户无对聊权限",
	constants.ERR_DB_BEGIN_TRANSACTION:          "数据库事务开启失败",
	constants.ERR_DB_ROLLBACK_TRANSACTION:       "数据库事务回滚失败",
	constants.ERR_DB_COMMIT_TRANSACTION:         "数据库事务提交失败",
	constants.ERR_DB_TRANSACTION_FAILED:         "数据库事务失败",
	constants.ERR_WS_UPDATE_USER_CACHE_FAIL:     "更新用户缓存失败",
	constants.ERR_CHAT_BLACK_LIST:               "黑名单用户不能聊天",
	constants.ERR_UPDATE_USER_FREE_CHAT_COUNT:   "更新用户免费聊天次数失败",
	constants.ERR_CHAT_NEED_UNLOCK:              "需要解锁聊天",
	constants.ERR_PAY_AMOUNT_NOT_MATCH:          "支付金额不匹配",
	constants.ERR_CALL_ALREADY_END:              "通话已经结束，不能重复挂断",
	constants.ERR_GET_CALL_LOCK_FAIL:            "对方忙碌中，请稍后再拨",
	constants.ERR_POOL_TASK_FULL:                "系统繁忙",
	constants.ERR_IDENTITY_NOT_ANCHOR:           "用户身份异常,不是主播",
	constants.ERR_BLACK_STATUS_FROM_OTHER:       "对方已将你拉黑，操作失败",
	constants.ERR_BLACK_STATUS_FROM_ME:          "你已拉黑对方，操作失败",
	constants.ERR_CALL_USER_BUSY:                "对方正在通话中，请稍后再拨",
	constants.ERR_COCO_TOKEN_VERIFY_FAILED:      "token 验证不通过",
	constants.ERR_COCO_SEARCH_FAIL:              "搜索主播失败",
	//constants.ERR_REMATCH_ANCHOR_TASK:           "当前没有可匹配的主播，正在帮你执行匹配任务，请等待片刻",
	constants.ERR_REMATCH_ANCHOR_TASK:   "当前没有可匹配的主播",
	constants.ERR_BLACKLIST_COUNT_LIMIT: "黑名单用户数量已达上限,无法再添加",
	constants.ERR_USER_NOT_ALLOW:        "您无权进行此操作",
	constants.ERR_USER_INTERRUPT_MATCH:  "快速匹配已取消",
	constants.ERR_GET_USER_TAG_FAILD:    "获取用户标签失败",
	constants.ERR_GET_HOMEPAGE_FAILD:    "获取首页数据失败",
	constants.ERR_SEND_MSG_VERSION_LOW:  "发送失败，对方版本过低",
}
